package com.bookm.bookm.entity;

public class MyPage {
    private Integer curPage;
    private Integer pageSize;
    private Integer total;
    private Integer totalPage;

    public MyPage(Integer curPage, Integer pageSize, Integer total, Integer totalPage) {
        this.curPage = curPage;
        this.pageSize = pageSize;
        this.total = total;
        this.totalPage = totalPage;
    }

    public Integer getCurPage() {
        return curPage;
    }

    public void setCurPage(Integer curPage) {
        this.curPage = curPage;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public Integer getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(Integer totalPage) {
        this.totalPage = totalPage;
    }
}
